package com.yooohooo.designpattern.bridge;

/**
 * @ClassName: Store
 * @Description:
 * @author Yooo
 * @date 2017年6月16日 上午1:37:28
 * 
 */
public class Store {
	/**
	 * 补充手机
	 */
//	public void supplyPhone() {
//		Phone phone = getNokiaPhone();
//		// 补充手机逻辑...
//		System.out.println("补充手机完成");
//	}
//	
//	private Phone getSonyPhone(){
//		Phone phone = new Phone();
//		phone.setCharger(new QuickCharger());
//		phone.setLocker(new FaceLocker());
//		return phone;
//	}
//	
//	private Phone getApplePhone(){
//		Phone phone = new Phone();
//		phone.setCharger(new SimpleCharger());
//		phone.setLocker(new FingerprintLocker());
//		return phone;
//	}
//	
//	private Phone getNokiaPhone(){
//		Phone phone = new Phone();
//		phone.setCharger(new QuickCharger());
//		phone.setLocker(new FingerprintLocker());
//		phone.setCamera(new DoubleCamera());
//		return phone;
//	}
}
